package com.whnk.model.service.impl;

import com.whnk.model.mapper.DatIndexInfoMapper;
import com.whnk.model.service.IDatIndexInfoService;
import com.whnk.model.vo.DatIndexInfoStatus;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Tong
 * @create 2021-9-7 14:33
 */
@Service
public class DatIndexInfoService  implements IDatIndexInfoService {
    //注入
    @Autowired
    private DatIndexInfoMapper datIndexInfoMapper;

    @Override
    public List<DatIndexInfoStatus> accountsOpenedCount() {
        return datIndexInfoMapper.accountsOpenedCount();
    }

    @Override
    public List<DatIndexInfoStatus> transactionAmountCount() {
        return datIndexInfoMapper.transactionAmountCount();
    }

    @Override
    public List<DatIndexInfoStatus> loanBalanceCount() {
        return datIndexInfoMapper.loanBalanceCount();
    }

    @Override
    public List<DatIndexInfoStatus> sameMonthCount() {
        return datIndexInfoMapper.sameMonthCount();
    }

    @Override
    public List<DatIndexInfoStatus> amountMonthCount() {
        return datIndexInfoMapper.amountMonthCount();
    }

    @Override
    public List<DatIndexInfoStatus> selectIndexCodes(String[] indexCode) {
        return datIndexInfoMapper.selectIndexCodes(indexCode);
    }


}
